//
//  ViewController.m
//  ios-wk1
//
//  Created by Guest User on 11/10/2556 BE.
//  Copyright (c) 2556 Guest User. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)ButtonTouch:(id)sender {
    self.TextBox.text =@"";
}
- (IBAction) unwind:(UIStoryboardSegue*) segue{
}

- (BOOL)textFieldShouldReturn: (UITextField*) tf {
    [tf resignFirstResponder];
    return YES;
}
- (IBAction)LongPress:(id)sender {
    self.TextBox.text =@"OK";
}
@end
